package com.tyk.bookstore.front.product.repository;

import com.tyk.bookstore.front.common.dal.mapper.IMapper;
import com.tyk.bookstore.front.product.model.entity.DisplayImageDo;
import com.tyk.bookstore.front.product.model.vo.ImageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tyk
 * @description 展示图片管理
 */
@Mapper
public interface DisplayImageRepository extends IMapper<DisplayImageDo> {
    List<ImageVo> selectImageVoListByBookId(@Param("bookId") Long bookId);

    List<String> selectPathListByBookId(@Param("bookId") Long bookId);
}
